package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the DRUGSTORAGE_GETDRUGS_DETAILS database table.
 * 
 */
@Entity
@Table(name="DRUGSTORAGE_GETDRUGS_DETAILS")
@NamedQuery(name="DrugstorageGetdrugsDetail.findAll", query="SELECT d FROM DrugstorageGetdrugsDetail d")
public class DrugstorageGetdrugsDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="DRUGSTORAGE_GETDRUGS_ID")
	private long drugstorageGetdrugsId;

	@Column(name="DRUGSTORAGE_DRUG_COST")
	private BigDecimal drugstorageDrugCost;

	@Column(name="DRUGSTORAGE_DRUG_NUMBER")
	private BigDecimal drugstorageDrugNumber;

	//bi-directional many-to-one association to DrugstorageBatchnumber
	@ManyToOne
	@JoinColumn(name="BATCHNUMBER_ID")
	private DrugstorageBatchnumber drugstorageBatchnumber;

	//bi-directional many-to-one association to MedcineDetail
	@ManyToOne
	@JoinColumn(name="MEDCINE_ID")
	private MedcineDetail medcineDetail;

	//bi-directional many-to-one association to Staff
	@ManyToOne
	@JoinColumn(name="STAFF_ID")
	private Staff staff;

	//bi-directional many-to-one association to Supplier
	@ManyToOne
	@JoinColumn(name="SUPPLIER_ID")
	private Supplier supplier;

	public DrugstorageGetdrugsDetail() {
	}

	public long getDrugstorageGetdrugsId() {
		return this.drugstorageGetdrugsId;
	}

	public void setDrugstorageGetdrugsId(long drugstorageGetdrugsId) {
		this.drugstorageGetdrugsId = drugstorageGetdrugsId;
	}

	public BigDecimal getDrugstorageDrugCost() {
		return this.drugstorageDrugCost;
	}

	public void setDrugstorageDrugCost(BigDecimal drugstorageDrugCost) {
		this.drugstorageDrugCost = drugstorageDrugCost;
	}

	public BigDecimal getDrugstorageDrugNumber() {
		return this.drugstorageDrugNumber;
	}

	public void setDrugstorageDrugNumber(BigDecimal drugstorageDrugNumber) {
		this.drugstorageDrugNumber = drugstorageDrugNumber;
	}

	public DrugstorageBatchnumber getDrugstorageBatchnumber() {
		return this.drugstorageBatchnumber;
	}

	public void setDrugstorageBatchnumber(DrugstorageBatchnumber drugstorageBatchnumber) {
		this.drugstorageBatchnumber = drugstorageBatchnumber;
	}

	public MedcineDetail getMedcineDetail() {
		return this.medcineDetail;
	}

	public void setMedcineDetail(MedcineDetail medcineDetail) {
		this.medcineDetail = medcineDetail;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Supplier getSupplier() {
		return this.supplier;
	}

	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}

}